NET_SDK_EditEmailCfg¶
Interface Definition¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Function Description¶
Email configuration interface, set the email sending parameters of the device.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lUserIDin | LONG | User ID, return value of NET_SDK_Login. |
| passwordin | char* | Email password (clear text, internal MD5 encryption). |
| addressin | char* | Email address. |
| senderNamein | char* | Sender name. |
| userNamein | char* | Email username. |
| anonymousSwitchin | BOOL | Anonymous switch (TRUE: on, FALSE: off). |
| attachImgin | int | Whether to attach pictures (0: Do not attach, 1: Attach). |
| imageNumberin | int | Number of images (range 4-10, beyond default 8). |
| snapImgSwitchin | BOOL | Snap picture switch (TRUE: on, FALSE: off). |
| orgImgSwitchin | BOOL | Original picture switch (TRUE: on, FALSE: off). |
| serverin | char* | SMTP server address. |
| portin | int | SMTP server port. |
| sslin | NET_SDK_EMAIL_SSL_MODE | SSL encryption mode (0:NO, 1:TLS, 2:SSL). |
Return Value¶
-
Type:BOOL
-
Remark:Returns TRUE if successful, FALSE if failed.
Remarks¶
None